<?php
// +----------------------------------------------------------------------------
// | Tke团队版权所属 [三十年河东三十年河西,莫欺少年穷.!]
// +----------------------------------------------------------------------------
// | Copyright (c) 2014 http://www.itdaodan.com All rights reserved.
// +----------------------------------------------------------------------------
// | Author: PHP@妖孽 <dino_ma@163.com>
// +----------------------------------------------------------------------------
/**
 *@todo 活动模型
 +------------------------------------------------------------------------------
 * @version   1.0
 * @since 2015-7-13
 +------------------------------------------------------------------------------
 */
namespace Admin\Model;
use Think\Model\ViewModel;
class PaperOrderViewModel extends ViewModel{
	
	public $viewFields = array(
			'PaperOrder'=>array('*'),//以主表为主
			'shop'=>array('shop_name','conf_category_id','merchant_id', '_on'=>'PaperOrder.shop_id=shop.shop_id'),
// 			'merchant'=>array('merchant_name', '_on'=>'shop.merchant_id=merchant.merchant_id'),
	//		'conf_category'=>array('conf_category', '_on'=>'shop.conf_category_id=conf_category.conf_category_id'),
	//		'member'=>array('login_name'=>'marking_login_name', '_on'=>'activity_detail.marking_user=detail_member.uid','_as'=>'detail_member'),
	);
}